import request from "@/utils/request";

export function listData(params) {
  return request({
    url: `/user-manager/user-ban-list`,
    method: "get",
    params
  });
}

export function deleteData(query) {
  return request({
    url: "/user-manager/user-ban-list",
    method: "delete",
    data: query
  });
}

export function getExport(params) {
  return request({
    url: "/user-manager/user-ban-list/excel",
    method: "get",
    params
  });
}

export function getAdminList() {
  return request({
    url: "system-set/admin",
    method: "get",
    params: { page: 1, perPage: 100 }
  });
}
